package org.jeecg.common.modules.inquiry.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: inquiry_info
 * @Author: jeecg-boot
 * @Date:   2020-08-31
 * @Version: V1.0
 */
@Data
@TableName("inquiry_info")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="inquiry_info对象", description="inquiry_info")
public class InquiryInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**doctorId*/
	@Excel(name = "doctorId", width = 15)
    @ApiModelProperty(value = "doctorId")
    private String doctorId;
	/**patientId*/
	@Excel(name = "patientId", width = 15)
    @ApiModelProperty(value = "patientId")
    private String patientId;
	/**wxuserId*/
	@Excel(name = "wxuserId", width = 15)
    @ApiModelProperty(value = "wxuserId")
    private String wxuserId;
	/**inquiryId*/
	@Excel(name = "inquiryId", width = 15)
    @ApiModelProperty(value = "inquiryId")
    private String inquiryId;
	/**content*/
	@Excel(name = "content", width = 15)
    @ApiModelProperty(value = "content")
    private String content;
    /**chiefComplaint*/
    @Excel(name = "chiefComplaint", width = 15)
    @ApiModelProperty(value = "chiefComplaint")
    private String chiefComplaint;
	/**createTime*/
	@Excel(name = "createTime", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
}
